package demo06;

/**
 * @program: qy158
 * @description:
 * @author: 闫克起2
 * @create: 2022-10-25 10:44
 **/
public class Test {
    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        Integer fun = fun(15);

        String hello = fun("hello");
    }
    //泛型方法
    public static <T> T fun(T t){
        System.out.println("==================="+t);
        return t;
    }
}
